package com.example.android_pti_backup;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class IsiPesanan extends Activity {

	EditText noMeja, namaPembeli;
	Button menu;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_isi_pesanan);

		menu = (Button) findViewById(R.id.buttonMenu);
		noMeja = (EditText) findViewById(R.id.noMejaInput);
		namaPembeli = (EditText) findViewById(R.id.namaPembeliInput);
		
		menu.setOnClickListener(new View.OnClickListener() {

			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(IsiPesanan.this, DaftarMenu.class);
				startActivity(i);
			}

		});

		
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.isi_pesanan, menu);
		return true;
	}

}
